#ifndef __RF_DONGLE_H
#define __RF_DONGLE_H

#include "RF_PHY/rf_port.h"
#include "RF_PHY/rf_sync.h"
#include "RF_PHY/rf_pair.h"

#ifndef CONFIG_RF_TIMEOUT_US
#define CONFIG_RF_TIMEOUT_US        50
#endif

typedef struct __attribute__((__packed__))
{
    uint8_t report_id;
    uint8_t data[16];
}rf_data_t;

void rf_dongle_init(void);

#define BUFFER_MAX_SIZE         1024

extern uint8_t rf_dongle_buffer[BUFFER_MAX_SIZE];

#endif /* __RF_DONGLE_H */
